package pl.leader100.rest.data;

import java.util.UUID;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class Situation {

	private String id;
	// private String role;
	private String course;
	private String month;
	private String locale;
	private String competency_prev;
	private String competency_actual;
	private String competency_next;

	private UUID uniqueKey;

	private String habit_prev;
	private String habit_actual;
	private String habit_next;

	public Situation() {
		super();
	}

	public Situation(String course, String month, String locale,
			String[] competencies, String[] habits) {
		super();
		// this.role = role;
		this.course = course;
		this.setMonth(month);
		this.locale = locale;
		
		if (competencies != null) {
			this.setCompetency_prev(competencies[0]);
			this.setCompetency_actual(competencies[1]);
			this.setCompetency_next(competencies[2]);
		}

		if (habits != null) {
			this.setHabit_prev(habits[0]);
			this.setHabit_actual(habits[1]);
			this.setHabit_next(habits[2]);
		}
	}

	// ///////////////////////////////////////
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getLocale() {
		return locale;
	}

	public void setLocale(String locale) {
		this.locale = locale;
	}

	public void setCourse(String course) {
		this.course = course;
	}

	public String getCourse() {
		return course;
	}

	public void setUniqueKey(UUID uniqueKey) {
		this.uniqueKey = uniqueKey;

	}

	public UUID getUniqueKey() {
		return uniqueKey;
	}

	public void setMonth(String month) {
		this.month = month;
	}

	public String getMonth() {
		return month;
	}

	public void setCompetency_prev(String competency_prev) {
		this.competency_prev = competency_prev;
	}

	public String getCompetency_prev() {
		return competency_prev;
	}

	public void setCompetency_actual(String competency_actual) {
		this.competency_actual = competency_actual;
	}

	public String getCompetency_actual() {
		return competency_actual;
	}

	public void setCompetency_next(String competency_next) {
		this.competency_next = competency_next;
	}

	public String getCompetency_next() {
		return competency_next;
	}

	public void setHabit_prev(String habit_prev) {
		this.habit_prev = habit_prev;
	}

	public String getHabit_prev() {
		return habit_prev;
	}

	public void setHabit_actual(String habit_actual) {
		this.habit_actual = habit_actual;
	}

	public String getHabit_actual() {
		return habit_actual;
	}

	public void setHabit_next(String habit_next) {
		this.habit_next = habit_next;
	}

	public String getHabit_next() {
		return habit_next;
	}

}
